using System.Web.UI;
using OpenWaves.Navigation.Controls;

namespace OpenWaves.Navigation.Showcase
{
    public class NavigationView: NavigationView<NavigationNode>
    {
        [PersistenceMode(PersistenceMode.InnerProperty)]
        [TemplateContainer(typeof(NavigationNodeContainer<NavigationNode>))]
        public override ITemplate FirstLevelNodeTemplate
        {
            get { return base.FirstLevelNodeTemplate; }
            set { base.FirstLevelNodeTemplate = value; }
        }

        [PersistenceMode(PersistenceMode.InnerProperty)]
        [TemplateContainer(typeof(NavigationNodeContainer<NavigationNode>))]
        public override ITemplate NodeTemplate
        {
            get { return base.NodeTemplate; }
            set { base.NodeTemplate = value; }
        }
    }
}